package pip.can;

import java.util.ArrayList;

public class Repository {
	private Content[] Contents;
	public Repository()
	{
		Contents=new Content[StaticVariables.Contents];
	}
	public void addContent(Content c)
	{
		Contents[c.ContentId]=c;
	}
	public Chunk getChunk(int ContentId, int ChunkId)
	{
		return Contents[ContentId].getChunk(ChunkId);
	}
	public int getNoChunks(int ContentId, int ChunkId)
	{
		return Contents[ContentId].getNoChunks();
	}
}
